Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement enable function tracing for DFTracer. #184

Merged
merged 4 commits into from
Sep 8, 2024

Conversation

hariharan-devarajan
Copy link
Member

@hariharan-devarajan hariharan-devarajan commented Sep 8, 2024

Currently, we have to annotate the code manually.

Enabling function tracing allows apps to capture their function calls immediately. Fixes #173

  • Apps can use DFTRACER_FUNCTION_FLAGS to their compile targets to enable function tracing.
  • Currently, we support showing function names for the library only. For executables, we give the function ptr, which needs to be resolved using nm -D or readelf -S.

@coveralls
Copy link

coveralls commented Sep 8, 2024

Coverage Status

coverage: 0.0%. remained the same
when pulling c04fb84 on enhance/function_inst
into 3f8f548 on develop.

@hariharan-devarajan hariharan-devarajan merged commit 7696c9e into develop Sep 8, 2024
11 checks passed
@rayandrew rayandrew deleted the enhance/function_inst branch September 24, 2024 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support to automatic function tracing with GCC -finstrument-functions
2 participants